
#ifndef __wrk_setproctitle__h
#define __wrk_setproctitle__h

#include <sys/types.h>
#include <string.h>
#include "wrk_config.h"

#ifdef __cplusplus  
extern "C" {  
#endif  

wrk_int_t
wrk_init_setproctitle();

void
wrk_setproctitle(char *title);

u_char *
wrk_cpystrn(u_char *dst, u_char *src, size_t n);

wrk_int_t
wrk_save_argv(int argc, char *const *argv);

#ifdef __cplusplus  
}
#endif  

#endif
